local activity_Cfg=_G.CommonOHOH.config.Activity;
local goods_Cfg=_G.CommonOHOH.config.Goods;

local M={}

function M.GetConfg()
    local gid=activity_Cfg[5].arg.goodsId
    
    return {
        goodsId = gid,
        OnlineTime=activity_Cfg[5].arg.taskTime,
        list=M.GetIdAndPrice(gid),
        price= goods_Cfg[gid].price
    };
end 
function M.GetIdAndPrice(gid)
    local list = {}
   for k, v in goods_Cfg[gid].itemData do
    for i,j in v do
        list[i] = j
    end
   end 
   return list
end
return M